<%@ include file="/taglibs.jsp"%>
<%@ page import="com.stable.dao.Dao,com.stable.model.TblAbwart"%>

<div id="login_screen">
<div class="wm_hide" id="login_error"></div>

<form action="abwesenheitsart.do?method=AbwesenheitsartAktualisieren"
	method="post" id="login_form" name="login_form">


<div align="center">


<table class="wm_login wm_fixed" id="login_table" border="0"
	cellspacing="0" cellpadding="0">
	<col width="100"></col>
	<col width="88"></col>
	<col width="70"></col>
	<col width="33"></col>
	<col width="42"></col>
	<tr>
		<br>
		<br>
		<br>
		<br>

		<%
			String abwartId = (String) request.getAttribute("abwartId");
			TblAbwart abwart = (TblAbwart) new Dao().get(TblAbwart.class,
					Integer.valueOf(abwartId));
		%>
		<td class="wm_login_header" colspan="5">Abwesenheitsart
		bearbeiten</td>
	</tr>

	<tr>
		<td class="wm_title" width="299" style="text-align: right !important">Abwesenheitsart:</td>

		<td colspan="4" style="text-align: right"><html:text name="rgb2"
			property="abwesenheitsart" styleClass="wm_input" maxlength="255"
			onfocus="this.className = 'wm_input_focus';"
			onblur="this.className = 'wm_input';" value="<%=abwart.getAbwart()%>" />

		</td>
	</tr>
	<!-- 
	<tr>
		<td class="wm_title" width="299" style="text-align: right !important">Farbe</td>
		<td bgcolor="<%=abwart.getFarbe()%>"></td>

		<td colspan="4" style="text-align: right"><html:text
			styleClass="wm_input" property="rgb2" name="rgb2" maxlength="7"
			value="<%=abwart.getFarbe()%>"
			onfocus="this.className = 'wm_input_focus';"
			onclick="showColorPicker(this,document.forms[0].rgb2)"
			onblur="this.className = 'wm_input';" /></td>
	</tr>
	 -->
	<tr>
		<td colspan="5" style="text-align: right"><input type="hidden"
			name="abwartId" value="<%=abwart.getAbwartId()%>" /> <span
			class="wm_login_button"> <input class="wm_button"
			type="submit" id="submit" name="submit" value="Speichern" /> </span></td>
	</tr>
</table>
</div>
</form>
</div>
</div>

</body>

</html>
